package com.wntms.wgj.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wntms.wgj.pojo.FreightLines;
import lombok.Data;

import java.util.Date;

@Data
public class FreightContracts {
    /** 货运单编号 */
    private String id;

    private String fid;

    /** 运费 */
    private Double fare;

    /** 保险费 */
    private Double insurancefare;

    /** 审核状态 */
    private String auditstatus;

    /** 付款方式 */
    private Integer pay;

    /** 预定发货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sdate;

    /** 货运信息表id */
    private Integer fiid;

    /** 发货客户-用户表id */
    private Integer uid;

    /** 收货客户id */
    private Integer coid;

    /** 货运路线表id */
    private Integer flid;

    /** 货运状态表id */
    private Integer fsid;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date occurtime;

    /** 返款类型 */
    private Integer refundtype;

    /** 代收货款 */
    private String payment;

    /*货运单路线表对象*/
    private FreightLines freightLines;

    private FreightStatus freightStatus;
}
